package src;

public class PredicateLength implements Predicate {

	@Override
	public boolean predicate(Object element, Object length) {
		if (element == null || length == null)
			return false;
		return (element.toString().length() == (Integer)length);
	}

}
